package org.itboys.mobile.dto.promotion;

import org.itboys.mobile.dto.common.MobileBaseDto;
import org.itboys.mobile.entity.mysql.promotion.SundayTeamGroupMember;

import java.util.List;

/**
 * 作者：zzq
 * 时间：2017年5月15日
 * 描述：圣代_商品_拼团组_DTO。
 */
public class SundayTeamGroupDto extends MobileBaseDto{
    private Long memberId;//发起人ID,
    private String memberName;//发起人名称
    private String memberImage;//发起人头像
    private Integer surplusNumber;//剩余拼团人数
    private Integer maxNumber;//最大拼团人数
    private String deadTime;//截至时间,
    List<SundayTeamGroupMemberDto> children;
    public SundayTeamGroupDto() {

    }

    public SundayTeamGroupDto(long id, String createTime, String createDate,
                              Long memberId, String memberName, String memberImage,
                              Integer surplusNumber, Integer maxNumber, String deadTime) {
        super(id, createTime, createDate);
        this.memberId=memberId;
        this.memberName = memberName;
        this.memberImage = memberImage;
        this.surplusNumber = surplusNumber;
        this.maxNumber = maxNumber;
        this.deadTime = deadTime;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberImage() {
        return memberImage;
    }

    public void setMemberImage(String memberImage) {
        this.memberImage = memberImage;
    }

    public Integer getSurplusNumber() {
        return surplusNumber;
    }

    public void setSurplusNumber(Integer surplusNumber) {
        this.surplusNumber = surplusNumber;
    }

    public Integer getMaxNumber() {
        return maxNumber;
    }

    public void setMaxNumber(Integer maxNumber) {
        this.maxNumber = maxNumber;
    }

    public String getDeadTime() {
        return deadTime;
    }

    public void setDeadTime(String deadTime) {
        this.deadTime = deadTime;
    }

    public List<SundayTeamGroupMemberDto> getChildren() {
        return children;
    }

    public void setChildren(List<SundayTeamGroupMemberDto> children) {
        this.children = children;
    }
}
